﻿namespace CV.Web.Tools
{
    using System.Web.Mvc;

    public class TagBuilderFactory
    {
        public static TagBuilder CreateTagBuilder(string tagName, params string[] cssClass)
        {
            var result = new TagBuilder(tagName);

            foreach (var clazz in cssClass)
            {
                result.AddCssClass(clazz);
            }

            return result;
        }
    }
}
